package com.xuwang.pojo;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 库存表(Inventory)实体类
 *
 * @author abaaba
 * @since 2021-09-18 09:10:59
 * @version 1.0
 */
@ApiModel(value = "Inventory",description = "库存表")
public class Inventory implements Serializable {
    private static final long serialVersionUID = -74157981343657015L;
    /**
    * id
    */
	@ApiModelProperty(name = "id",notes = "id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 库存类型（0原料，1添加剂）
    */
	@ApiModelProperty(name = "inventoryType",notes = "库存类型（0原料，1添加剂）",dataType = "Integer",required = true)
    private Integer inventoryType;
    /**
    * 生产批号(可菜品可原料可调料)
    */
	@ApiModelProperty(name = "batchNo",notes = "生产批号(可菜品可原料可调料)",dataType = "String",required = true)
    private String batchNo;
    /**
    * 库存中物品名字
    */
	@ApiModelProperty(name = "inventoryName",notes = "库存中物品名字",dataType = "String",required = true)
    private String inventoryName;
    /**
    * 数量
    */
	@ApiModelProperty(name = "number",notes = "数量",dataType = "Double",required = true)
    private Double number;
    /**
    * 库存公司id
    */
	@ApiModelProperty(name = "inventoryCompanyId",notes = "库存公司id",dataType = "Integer",required = true)
    private Integer inventoryCompanyId;

    /**
     * 库存公司对象
     */
    @ApiModelProperty(name = "inventoryCompany",notes = "库存公司对象",dataType = "CompanyInfo",required = true)
    private CompanyInfo inventoryCompany;

    /**
     * 生产对象
     */
    @ApiModelProperty(name = "production",notes = "生产对象",dataType = "Production",required = true)
    private Production production;

    public CompanyInfo getInventoryCompany() {
        return inventoryCompany;
    }

    public void setInventoryCompany(CompanyInfo inventoryCompany) {
        this.inventoryCompany = inventoryCompany;
    }

    public Production getProduction() {
        return production;
    }

    public void setProduction(Production production) {
        this.production = production;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getInventoryType() {
        return inventoryType;
    }

    public void setInventoryType(Integer inventoryType) {
        this.inventoryType = inventoryType;
    }
        
    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }
        
    public String getInventoryName() {
        return inventoryName;
    }

    public void setInventoryName(String inventoryName) {
        this.inventoryName = inventoryName;
    }
        
    public Double getNumber() {
        return number;
    }

    public void setNumber(Double number) {
        this.number = number;
    }
        
    public Integer getInventoryCompanyId() {
        return inventoryCompanyId;
    }

    public void setInventoryCompanyId(Integer inventoryCompanyId) {
        this.inventoryCompanyId = inventoryCompanyId;
    }

}